<?php

/*
 * Created on Dec 4, 2009
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

/**
* The Image object will be used to pass information from the physics model 
* back to the controller. It contains the file path of the image and the 
* LatLng boundaries where to put them
*/
class Image {
	private $imagePath;
	private $LatLngUpper;
	private $LatLngLower;

	function __construct($path, $ne, $sw) {
		$this->imagePath = $path;
		$this->LatLngUpper = $ne;
		$this->LatLngLower = $sw;
	}

	function setUpper($newLatLng) {
		$this->LatLngUpper = $newLatLng;
	}

	function getUpper() {
		return $this->LatLngUpper;
	}

	function setLower($newLatLng) {
		$this->LatLngLower = $newLatLng;
	}

	function getLower() {
		return $this->LatLngLower;
	}

	function setImagePath($newPath) {
		$this->imagePath = $newPath;
	}

	function getImagePath() {
		return $this->imagePath;
	}

}
?>
